package com.inspur.gs.sbssdl.sbyxgl.djjh.djjh.back.sbdjpz.determinations;
import com.inspur.edp.cef.api.message.*;
import com.inspur.edp.bef.api.action.determination.*;
import com.inspur.edp.bef.spi.action.determination.*;
import com.inspur.edp.cef.entity.changeset.*;
import com.inspur.edp.bef.spi.action.determination.AbstractDetermination;
import com.inspur.edp.bef.api.action.determination.IDeterminationContext;
import com.inspur.edp.cef.entity.entity.IEntityData;
import com.inspur.edp.bef.api.action.determination.IBeforeRetrieveDtmContext;

public class sbdjpzValueChangedDtms1MgrAction extends AbstractDetermination {
	public sbdjpzValueChangedDtms1MgrAction(IDeterminationContext context, IChangeDetail change) {
		super(context,change);
	}
	@Override
	public  void execute() {
		//获取业务实体
		IEntityData data = this.getData();
		System.out.println(data);
		IChangeDetail change = this.getChange();
		System.out.println(change);
		Object djpz = this.getContext().getCurrentData().getValue("djpz");
		System.out.println(djpz);
		data.setValue("djpz",djpz);
	}
	private IEntityData getData() {
		return (IEntityData)super.getContext().getCurrentData();
	}
}